import request from '@/utils/request'

export const packageApi = {
  // 获取套餐列表
  getPackageList(params) {
    return request({
      url: '/api/package/list',
      method: 'GET',
      params
    })
  },
  
  // 获取套餐详情
  getPackageDetail(id) {
    return request({
      url: `/api/package/detail/${id}`,
      method: 'GET'
    })
  }
} 